{/include file="simpla/common/header.html"/}
{/include file="simpla/common/left.html"/}
<div id="main-content">
  <h2>欢迎您 {/$_adminname/}</h2>
  <p id="page-intro">查看所有管理员帐号。</p>
  <div class="clear"></div>
  <div class="content-box">
    <div class="content-box-header">
      <h3>帐号管理</h3>
      <ul class="content-box-tabs">
        <li><a href="#tab1" class="default-tab">帐号管理</a></li>
        <li><a href="{/get_url rule="/account/addaccount"/}">添加帐号</a></li>
        <li><a href="{/get_url rule="/account/modifypwd"/}">密码修改</a></li>
      </ul>
      <div class="clear"></div>
    </div>
    <div class="content-box-content">
      <div class="tab-content default-tab" id="tab1">
        <table>
          <thead>
            <tr>
              <th>用户名称</th>
              <th>用户组</th>
              <th>管理</th>
            </tr>
          </thead>
          <tbody>
          {/section name=i loop=$account/}
          <tr>
            <td>{/$account[i].admin_name/}</td>
            <td>{/$account[i].group_name/}</td>
            <td><a href="{/get_url rule='/account/index' data='aid='|cat:$account[i].admin_id/}" title="编辑"><img src="{/$root_dir/}/assets/simpla/images/icons/pencil.png" alt="编辑" /></a>&nbsp;<a href="{/get_url rule='/system/rights' data='gid='|cat:$account[i].gid/}" title="查看权限"><img src="{/$root_dir/}/assets/simpla/images/icons/information.png" alt="查看权限" /></a></td>
          </tr>
          {//section/}
            </tbody>
        </table>
      </div>
    </div>
  </div>
  {/include file="simpla/common/copy.html"/} </div>
{/include file="simpla/common/footer.html"/}